<template>
    <div>

        <van-nav-bar
                title="不凡"
                left-text="返回"
                @click-left="onClickLeft"
                />
            <form action="/">
                    <van-search
                        v-model="value"
                        show-action
                        placeholder="请输入搜索关键词"
                        @search="onSearch"
                       
                    />
            </form>
            <div class="nav-bar">
                    <div class="bar">综合</div>
                    <div class="bar">价格</div>
                    <div class="bar">分类</div>
            </div>
            <div class="list">
                        <div class="list-item">

                        </div>
            </div>
    </div>
</template>

<script>
    export default {
        data() {
            return {
                value:"",
                list:[]

            }
        },
        methods: {
            onSearch(){

            },
            onClickLeft(){

            }
        },
        created(){
            this.list  = this.$route.query.item 
            console.log(this.$route.query.item);
        }   
    }
</script>

<style lang="scss" scoped>
        .nav-bar {
            width: 100%;
            height: 40px;
            display: flex;
            justify-content: space-between;
           
            .bar {
                width: 33.33%;
                height: 100%;
                text-align: center;
                line-height: 40px;
                background-color: #fff;
            }
        }
        .list {
            width: 100%;
            margin-top: 5px;
            .list-item {
                width: 187px;
                height: 240px;
                background-color: red;
            }
        }
</style>